package top.yangyitao.model;

public class Manual {
	private int mid;
	public int getMid() {
		return mid;
	}
	public void setMid(int mid) {
		this.mid = mid;
	}
	private String chessCode;
	public int[] getManualArray() {
		int[] manualArray = new int[27];
		for(int i=0;i<chessCode.length();i++)
			manualArray[i] = chessCode.charAt(i)-'0';
		return manualArray;
	}
	public String getChessCode() {
		return chessCode;
	}
	public void setChessCode(String chessCode) {
		this.chessCode = chessCode;
	}
	public Manual() {
		super();
	}
	public Manual(String chessCode) {
		super();
		this.chessCode = chessCode;
	}
}
